define(['app'], function (app) {
    'use strict';
    app.controller("mainController", [ '$scope', function ($scope) {
        var mainCtr = this;

        /**
         * 目录显示隐藏切换
         *
         **/
        // 页面加载默认为true
        mainCtr.expand = 'true';
    }])
})